package com.vision.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.time.LocalDateTime;

/**
 * @projectName: vision
 * @package: com.vision.pojo.vo
 * @className: ChatListVO
 * @author: escapeicon@gmail.com
 * @description: 用户关注列表 VO
 * @date: 2024/1/20 9:59
 * @version: 1.0
 */
@Data
public class UserFollowVO {
    private Integer id;
    private Integer userId;
    private String username;
    private String nickname;
    @URL
    private String avatar;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime subscribeTime;
    // 是否关注 仅用于查询关注列表使用 1 已关注 0 未关注
    private Integer isSubscribed;
}
